


.logo-container {
    display: flex;
    justify-content: left;
    margin-right: 400px;
}

 /* Hero Section with Overlay */
 .hero {
    background-image: url('/static/imgs/banner2.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
}
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Gray film overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity for the overlay */
    z-index: 0; /* Ensures overlay is behind the content */
}

/* Hero content */
.hero-content {
    margin-top: 120px;
    margin-bottom: 200px;
    color: rgb(251, 250, 246);
    text-align: center;
    position: relative; /* Ensures text appears above the overlay */
    z-index: 1; /* Ensures the text stays above the overlay */
}

.hero .banner-img {
    display: none; /* Hide the image since it's now part of the background */
}



        body {
            font-family: 'Poppins', sans-serif;
            
        }
        .section-content {
            display: none;
            padding: 20px;
            
        }
        .section-content.active {
            display: block;
            
        }
        .banner-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 5px;
            margin-bottom: 20px;
        }
        .icon {
            width: 50px;
            margin-right: 15px;
        }
        .info-box {
            background-color: #f9f9f9;
            border: 1px solid #ddd;
            border-radius: 5px;
            padding: 20px;
            text-align: center;
            margin-top: 20px;
        }
        .info-box h3 {
            font-size: 1.5rem;
        }
        .contact-btn {
            display: none;
            margin-top: 20px;
        }


        .back-to-top-btn {
            position: fixed;
            bottom: 30px;
            right: 30px;
            display: none;
            background-color: #042e5c;
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 50%;
            font-size: 20px;
            cursor: pointer;
        }

        .back-to-top-btn:hover {
            background-color: #0056b3;
        }

/* Navbar Styles */
.navbar {
    background: linear-gradient(90deg, #ffffff, #ffffff);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 20px; /* Adjust for consistent spacing */
    display: flex;
    justify-content: space-between;
    align-items: center; /* Aligns logo and button vertically */
}

/* Navbar Brand (Logo) */

.navbar-brand {
    display: flex;
    align-items: center; /* Align logo vertically with the toggler */
}

.navbar-brand img {
    
    height: 60px; /* Adjust the logo size */ /* Adjust the logo size */
}

/* Navbar Toggler for Mobile */
.navbar-toggler {
    display: flex;
    align-items: center;
    margin-left: auto;
    border: none;
    padding: 5px 10px;
    background-color: transparent; /* Transparent background */
    position: absolute; /* Position the button */
    top: 15px; /* Align with the logo */
    right: 20px; /* Place it near the right edge */
    z-index: 1000; /* Ensure it stays above content */
}

.navbar-toggler-icon {
    border-radius: 2px; /* Optional: Add slight rounding */
    padding-right: 10px;
    background-color: #959595; /* Toggler icon color */
}

/* Navbar Links */
.navbar-nav {
    align-items: center;
    display: flex; /* Use flexbox to align nav items */
    justify-content: flex-end; /* Align nav items to the right */
    list-style: none; /* Remove list style */
    padding-left: 0; /* Remove padding from the left */
}

.navbar-nav .nav-item {
    
    margin-left: 20px; /* Add space between nav items */
}

/* Navbar Link Styling */
.navbar-nav .nav-item .nav-link {
    color: #0056b3 !important; /* Set text color for the nav links */
    font-weight: 500; /* Adjust font weight */
    text-transform: uppercase; /* Optional: to make links uppercase */
    padding: 21px 60px; /* Adjust padding for better spacing */
    transition: color 0.3s ease-in-out; /* Smooth transition for hover effect */
    text-decoration: none; /* Remove underline from links */
    display: inline-block; /* Prevent layout shifts */
}

/* Navbar Link Hover Effect */
.navbar-nav .nav-item .nav-link:hover {
    color: #f8d146 !important; /* Accent color on hover */
}

/* Active Navbar Link */
.navbar-nav .nav-item.active .nav-link {
    color: #0056b3; /* Active link color */
    font-weight: bold; /* Make active link bold */
}

/* Prevent outline or focus shift on links */
.navbar-nav .nav-item .nav-link:focus, 
.navbar-nav .nav-item .nav-link:active {
    outline: none; /* Prevent outline on focus */
    box-shadow: none; /* Prevent box-shadow on active */
}

/* Dropdown Menu */
.navbar-nav .nav-item.dropdown .dropdown-menu {
   
    transition: opacity 0.3s ease-in-out;
    background-color: #ffffff; /* Background color for the dropdown */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow for dropdown */
    border-radius: 4px; /* Rounded corners for the dropdown */
}

/* Dropdown Item */
.navbar-nav .nav-item.dropdown .dropdown-item {
    color: #0056b3; /* Text color for dropdown items */
    padding: 10px; /* Adjust padding for dropdown items */
}

/* Dropdown Item Hover Effect */
.navbar-nav .nav-item.dropdown .dropdown-item:hover {
    display: block;
    opacity: 1;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .navbar {
        padding: 10px 15px; /* Reduce padding for smaller screens */
    }

    .navbar-brand img {
        height: 50px; /* Slightly reduce the logo size for smaller screens */
    }

    .navbar-toggler {
        padding: 5px 8px; /* Adjust padding for better alignment */
        right: 15px; /* Adjust horizontal alignment */
    }
}



 /* Footer Styling */
        footer {
            background-color: #333;
            color: white;
            padding: 30px 0;
            text-align: center;
        }

        footer a {
            color: #fff;
            text-decoration: none;
            margin: 0 10px;
        }

        footer a:hover {
            text-decoration: underline;
        }

        .feature .d-flex {
    gap: 30px; /* Space between items */
    flex-wrap: nowrap; /* Prevent wrapping by default */
}

@media (max-width: 768px) {
    .feature .d-flex {
        flex-wrap: wrap; /* Allow wrapping on smaller screens */
        justify-content: center; /* Center items when they stack */
    }

    .feature .d-flex > div {
        flex: 0 0 100%; /* Full width for each item */
        text-align: center; /* Center align content */
    }

    .feature img {
        max-width: 100%; /* Full width images on smaller screens */
    }
}

.feature img {
    max-width: 300px; /* Consistent size for larger screens */
}

.feature h2 {
    margin-bottom: 30px;
    text-align: center;
}

.feature p {
    max-width: 300px; /* Optional: control paragraph width */
    margin: 0 auto; /* Center the paragraph horizontally */
    text-align: center; /* Center align text */
}

/* About Section Wrapper */
.about-section-wrapper {
    background-color: #d0eaff;  /* Light blue background for the whole section */
    padding: 20px 0;  /* Adds some space around the section */
}

/* About Us Banner Styling */
.about-banner-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 0 auto;
    overflow: hidden;
    border-bottom: 8px solid #e4942b; /* Golden border for elegance */
    border-radius: 10px;
    position: relative;
    text-align: center;
    color: white;
}

.about-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darkened for better text clarity */
    border-radius: 10px;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
}

.about-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-family: 'Poppins', sans-serif;
}

.about-hero-content h1 {
    font-size: 3.5rem;
    letter-spacing: 3px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}
.animated-heading {
    font-size: 3rem;
    animation: slideIn 1s ease-in-out;
}

.about-hero-content .about-tagline {
    font-size: 1.5rem;
    animation: fadeIn 1.5s ease-in-out;
}

/* About Details Section */
.about-details {
    padding: 30px;
    background: #e4942b;   ;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    color:#0034d0;
    max-width: 1400px;
    margin: 40px auto;
}

.about-details p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #0034d0;
    text-shadow: #000000;
}

/* Vision and Mission */
.vision-mission-wrapper {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.vision-mission-box {
    flex: 1 1 45%;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
   
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 45%;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.hover-box:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.vision-mission-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.vision-mission-box h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
}

.vision-mission-box p {
    text-align: justify;
    font-size: 1.1rem;
}

/* Founder Profile */
.founder-profile {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
    margin: 2rem 0;
}
.founder-card {
    display: inline-block;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    position: relative;
    max-width: 600px;
    text-align: left;
}

.founder-img {
    margin-top: 40px;
    float: left;
    margin-right: 1rem;
    margin-left: 1rem;
    border-radius: 50%;
    width: 200px;
    height: 200px;
}

.founder-info h3, .founder-info h4 {
    
    font-weight: bold;
    margin-bottom: 10px;
}

.founder-info p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}
.founder-toggle {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
}

.founder-expanded-info {
    display: none;
    margin-top: 1rem;
}

.founder-toggle:active + .founder-expanded-info {
    display: block;
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* Responsive Adjustments */
@media (max-width: 768px) {
    .vision-mission-wrapper {
        flex-direction: row;
    }

    .vision-mission-box {
        flex: 1 1 100%;
    }

    .founder-profile {
        flex-direction: column;
        text-align: center;
    }

    .founder-img {
        margin-bottom: 20px;
    }
}

/* Section Content */ 
#service1 {
    position: relative;
    width: 100%;
    max-width: 2200px;
    padding: 20px;
    background: #e4942b;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Banner Wrapper */
#service1 .banner-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Banner Image */
#service1 .banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: transform 0.5s ease-in-out;
}

#service1 .banner-img:hover {
    transform: scale(1.05);
}

/* Gray Overlay */
#service1 .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 2;
    text-align: center;
}

/* Overlay Text */
#service1 .overlay-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease-in-out;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

#service1 .section-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #dadad7;
    margin-top: 10px;
    max-width: 600px;
    animation: fadeIn 1.5s ease-in-out;
}

/* Service Cards */
#service1 .service-cards {
    display: block;
    padding: 20px 0;
}

#service1 .service-card {
    background: linear-gradient(145deg, #e0e0e0, #ffffff);
    box-shadow: 6px 6px 12px #c8c8c8, -6px -6px 12px #ffffff;
    border-radius: 15px;
    width: 320px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#service1 .service-card:hover {
    transform: scale(1.05);
    box-shadow: 10px 10px 20px #c8c8c8, -10px -10px 20px #ffffff;
}

/* Card Header */
#service1 .card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#service1 .card-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

/* Card Description */
#service1 .card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-top: 10px;
    font-family: 'Poppins', sans-serif;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    #service1 .overlay-title {
        font-size: 2.5rem;
    }

    #service1 .section-description {
        font-size: 1rem;
    }

    #service1 .service-card {
        width: 100%;
    }

    /* Ensure buttons are visible on smaller screens */
    .carousel-nav {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .carousel-nav button {
        padding: 12px 25px;
        font-size: 18px;
        width: 100%;
    }
}

/* Slick Carousel Adjustments */
.slick-slide {
    display: flex;
    justify-content: center;
}

.slick-prev, .slick-next {
    font-size: 18px;
    color: #333;
    background-color: #fff;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.slick-prev {
    margin-right: 10px;
}

.slick-next {
    margin-left: 10px;
}

/* Custom Navigation Buttons Styling */
.carousel-nav {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.carousel-nav button {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #333;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-nav button:hover {
    background-color: #555;
}

/* Section Content */
#service2 {
    position: relative;
    width: 100%;
    max-width: 2200px;
    padding: 20px;
    background: #e4942b;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Banner Wrapper */
#service2 .banner-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Banner Image */
#service2 .banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the container while preserving its aspect ratio */
}

/* Gray Overlay */
#service2 .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.748); /* Darker gray overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    padding: 0 20px;
    text-align: center;
}

/* Overlay Title with Animation */
#service2 .overlay h1 {
    margin-top: 15px;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease-out forwards;
}

/* Overlay Description with Fade-in Animation */
#service2 .overlay p {
    font-size: 1.4rem;
    color: #ffffff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
    max-width: 800px; /* Optional: Limit the width of the text for better readability */
    opacity: 0;
    animation: fadeIn 1.5s ease-out 1s forwards;
}

/* Service List */
#service2 .service-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* Default to 1 column */
    gap: 30px;
}

/* Service Item with Hover Effect */
#service2 .service-list .service-item {
    background: #ffffff;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Hover Effects for Service Item */
#service2 .service-list .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    background-color: #f1f1f1;
}

/* Service Title */
#service2 .service-list h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: left;
    font-family: 'Poppins', sans-serif;
}

/* Service Description */
#service2 .service-list p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
    text-align: justify;
    font-family: 'Poppins', sans-serif;
}

/* Animations */
@keyframes fadeInUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Media Query for Larger Screens */
@media (min-width: 768px) {
    #service2 .service-list {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
    }
}

@media (min-width: 1024px) {
    #service2 .service-list {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on large screens */
    }
}

/* Service Icon Styling */
.service-item .service-icon {
    font-size: 2rem; /* Adjust the size of the icons */
    color: #3498db; /* Set the icon color */
    margin-right: 15px; /* Space between icon and text */
    vertical-align: middle; /* Align the icon with the text */
    transition: color 0.3s ease; /* Smooth transition for hover effect */
}

/* Hover Effect for Icons */
.service-item:hover .service-icon {
    color: #2980b9; /* Change color on hover */
}

/* Adjusting icon size for smaller screens */
@media screen and (max-width: 768px) {
    .service-item .service-icon {
        font-size: 1.6rem; /* Smaller icon size for mobile devices */
    }
}



/* Section Content */
#service3 {
    position: relative;
    width: 100%;
    max-width: 2200px;
    padding: 20px;
    background: #e4942b;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Banner Wrapper */
#service3 .banner-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Banner Image */
#service3 .banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gray Overlay */
#service3 .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.748);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    padding: 0 20px;
    text-align: center;
}

/* Animated Title */
.animate-title {
    font-size: 2.8rem;
    font-weight: 700;
   
    color: white;
    
   
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInSlideDown 1s ease-out forwards;
}

/* Animated Description */
.animate-description {
    font-size: 1.4rem;
    color: #ffffff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
    max-width: 800px;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInSlideDown 1.2s ease-out forwards;
}

/* Keyframes for Title and Description Animation */
@keyframes fadeInSlideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service List */
#service3 .service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
    padding: 0;
    list-style: none;
}

/* Service Item */
#service3 .service-item {
    background: #dddddc; /* Light yellow background for a distinct look */
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 1s ease-out forwards;
    animation-delay: calc(var(--index) * 0.2s);
}

#service3 .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    background: #fafaf9; /* Slight hover effect with a brighter shade */
}

#service3 .service-item h4::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2189bd, #0034d0);
    margin-top: 8px;
}

/* Service Item Text */
#service3 .service-item h4 {
   
    font-weight: 600;
    color: #0034d0;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    text-align: left;
}

#service3 .service-item p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #000000;
    font-family: 'Poppins', sans-serif;
    text-align: justify;
}

/* Keyframes for Service Items Animation */
@keyframes fadeInSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    #service3 .overlay h1 {
        font-size: 2.2rem;
    }

    #service3 .overlay p {
        font-size: 1.2rem;
    }

    #service3 .service-item h2 {
        font-size: 1.6rem;
    }

    #service3 .service-item p {
        font-size: 1rem;
    }
}

/* Section Content */
#service4 {
    position: relative;
    width: 100%;
    max-width: 2200px;
    padding: 20px;
    background: #e4942b;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 40px;
}

/* Banner Wrapper */
#service4 .banner-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Banner Image */
#service4 .banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    animation: zoomBanner 8s infinite alternate ease-in-out;
}

/* Overlay */
#service4 .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    padding: 0 20px;
    text-align: center;
}

/* Animated Title */
.animated-title {
    margin-top: 35px;
    font-size: 2.1rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    font-family: 'Poppins', sans-serif;
    animation: slideInFromLeft 1.5s ease-out;
    margin-bottom: 15px;
}

/* Animated Description */
.animated-description {
    font-size: 1.3rem;
    color: #ffffff;
    line-height: 1.8;
    font-family: 'Poppins', sans-serif;
    animation: fadeIn 1.5s ease-in;
    max-width: 800px;
}

/* Keyframes for Banner and Text Animation */
@keyframes zoomBanner {
    to {
        transform: scale(1.05);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Analysis Boxes Wrapper */
#service4 .analysis-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    margin-top: 30px;
}

/* Analysis Box */
#service4 .analysis-box {
    flex: 1;
    min-width: 300px;
    max-width: 45%;
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transform: scale(1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#service4 .analysis-box:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to bottom, #f9f9f9, #ffffff);
}

#service4 .analysis-box h4 {
   
    font-weight: 600;
    color:#0034d0;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

#service4 .analysis-box p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
    font-family: 'Poppins', sans-serif;
}


/* Section Content */
#service5 {
    position: relative;
    width: 100%;
    max-width: 2200px;
    padding: 20px;
    background: #e4942b;  
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 40px;
}

/* Banner Wrapper */
#service5 .banner-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Banner Image */
#service5 .banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay */
#service5 .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    padding: 0 20px;
    text-align: center;
}

#service5 .overlay h1 {
    margin-top: 35px;
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 2px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInTitle 2s forwards;
}

@keyframes fadeInTitle {
    from { opacity: 0; }
    to { opacity: 1; }
}

#service5 .overlay p {
    font-size: 1.2rem;
    color: #ffffff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
    max-width: 800px;
   
    opacity: 0;
    animation: fadeInText 3s forwards;
    animation-delay: 1s; /* Delay to make sure the text fades in after title */
}

@keyframes fadeInText {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Style for diagram container */
.diagram-container {
    position: relative;
    width: 600px;
    height: 600px;
    margin: 50px auto;
    background: radial-gradient(circle, #ffffff, #e6e6fa);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); /* Subtle container shadow */
    animation: pulse 2s infinite; /* Pulse animation for the circumference */
    border: 2px solid transparent; /* Border for circumference */
    background-clip: content-box; /* Ensures background does not overlap border */
}

/* Pulse animation for the diagram container */
@keyframes pulse {
    0% {
        box-shadow: 0px 0px 15px #dfbe00; /* Light blue glow */
        border-color: #dfbe00; /* Default border color */
    }
    50% {
        box-shadow: 0px 0px 25px#e6e5e2;; /* Brighter blue glow */
        border-color: #dfbe00;; /* Glow color */
    }
    100% {
        box-shadow: 0px 0px 15px#dfbe00; /* Light blue glow */
        border-color:#dfbe00; /* Reset border color */
    }
}

/* Center Logo */
.center-logo {
    width: 120px;  /* Original size */
    height: auto;
    position: absolute;
    z-index: 1;
}

/* Service Nodes (Partners/Services) */
.service-node, .service-node1 {
    position: absolute;
    min-width: 200px;
    max-width: 300px; /* Optional: to limit width */
    height: auto; /* Allow height to adjust based on content */
    background: linear-gradient(135deg, #1a176d, #2575fc);
    color: white;
    border-radius: 10px;
    text-align: center;
    line-height: 1.5; /* Adjust for better readability */
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    white-space: normal; /* Enable text wrapping */
    overflow: hidden;
    padding: 10px; /* Add padding for better spacing */
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

/* Glowing effect and hover animation */
.service-node:hover, .service-node1:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
    filter: brightness(1.2) drop-shadow(0px 0px 15px rgba(255, 255, 255, 0.5));
}

/* Lines connecting the nodes to the center */
.line {
    position: absolute;
    width: 2px;
    background-color: #1a176d;
    transform-origin: center top ;
    z-index: 0;
}


@keyframes fadeInTitle {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}



/* Title */
#single-window-ecosystem h2 {
    align-self: center;
    font-size: 2rem;
    font-weight: 700;
    color: #0034d0;
    margin-bottom: 20px;

    font-family: 'Poppins', sans-serif;
    text-shadow: #ffffff;
}

/* Description */
#single-window-ecosystem p {
    font-size: 1.4rem;
    color: #000000;
  
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.navigation-buttons .btn {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    background-color: #0056b3;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.navigation-buttons .btn:hover {
    background-color: #003f88;
}

/* General styles for large screens remain unchanged */

/* Responsive Design for Small Screens (width <= 768px) */
@media (max-width: 768px) {
    .diagram-container {
        width: 570px;
        height: 570px;
    }

    .center-logo {
        width: 90px;
        height: 90px;
    }

    /* Position the service nodes */
    .service-node:nth-child(1) {
        left: 50px;
        top: 50px;
    }

    .service-node:nth-child(2) {
        left: 200px;
        top: 120px;
    }

    .service-node:nth-child(3) {
        left: 250px;
        top: 200px;
    }

    .service-node:nth-child(4) {
        left: 200px;
        top: 300px;
    }

    .service-node:nth-child(5) {
        left: 50px;
        top: 350px;
    }

    .service-node:nth-child(6) {
        left: 0px;
        top: 300px;
    }

    .service-node:nth-child(7) {
        right: 250px;
        top: 200px;
    }

    .service-node:nth-child(8) {
        left: 0px;
        top: 120px;
    }

    /* Position the lines */
    .line:nth-child(1) {
        height: 100px;
        left: 250px;
        top: 275px;
        transform: rotate(0deg);
    }

    .line:nth-child(2) {
        height: 100px;
        left: 200px;
        top: 275px;
        transform: rotate(45deg);
    }

    .line:nth-child(3) {
        height: 100px;
        left: 275px;
        top: 275px;
        transform: rotate(90deg);
    }

    .line:nth-child(4) {
        height: 100px;
        left: 275px;
        top: 275px;
        transform: rotate(135deg);
    }

    .line:nth-child(5) {
        height: 100px;
        left: 275px;
        top: 275px;
        transform: rotate(180deg);
    }

    .line:nth-child(6) {
        height: 100px;
        left: 275px;
        top: 275px;
        transform: rotate(225deg);
    }

    .line:nth-child(7) {
        height: 100px;
        left: 275px;
        top: 275px;
        transform: rotate(270deg);
    }

    .line:nth-child(8) {
        height: 100px;
        left: 275px;
        top: 275px;
        transform: rotate(315deg);
    }
}


/* Responsive Design for Small Screens (width <= 576px) */
@media (max-width: 576px) {
    #service5 .overlay h1 {
        margin-top: 25px;
        font-size: 1.8rem;
        font-weight: 700;
        color: #ffffff;
        text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
        margin-bottom: 2px;
        font-family: 'Poppins', sans-serif;
        letter-spacing: 1px;
        opacity: 0;
        animation: fadeInTitle 2s forwards;
    }
    
#service5 .overlay p {
    font-size: 1rem;
    color: #ffffff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
    max-width: 800px;
   
    opacity: 0;
    animation: fadeInText 3s forwards;
    animation-delay: 1s; /* Delay to make sure the text fades in after title */
}

/* Hero content */
.hero-content {
    margin-top: 73px;
    margin-bottom: 170px;
    color: rgb(251, 250, 246);
    text-align: center;
    position: relative; /* Ensures text appears above the overlay */
    z-index: 1; /* Ensures the text stays above the overlay */
}

    .diagram-container {
        width: 320px;
        height: 320px;
        position: relative;
        margin: 55 auto;
        border-radius: 50%;
        padding: 5px 10px;
    }

    .center-logo {
        width: 50px;
        height: 50px;
        position: absolute;
        left: 50%;
        top: 53%;
        transform: translate(-50%, -50%);
        z-index: 10;
    }

    /* Service Nodes Positioned Dynamically */
    .service-node {
        font-size: 8px;
        width: 10px;
        height: auto;
        text-align: center;
        position: absolute;
        transform: translate(-35%, -80%);
    }

    .service-node1 {
        font-size: 8px;  /* Ensure consistency with other nodes */
        width: 130px; /* Adjust width to accommodate longer text */
        height: auto;
        text-align: center;
        position: absolute;
        transform: translate(30%, -350%); /* Same alignment for consistency */
        right: 250px; /* Position the node from the right side */
        top: 420px;   /* Position the node from the top */
    }

    /* Dynamic Node Positioning for 16 Nodes (Closer to the Center) */
    .service-node:nth-child(1) {
        left: 0%;
        top: 50%; /* Top-center node */
        transform: translate(-60%, 80%);
    }

    .service-node:nth-child(2) {
        left: 70%;
        top: 10%;
        transform: translate(-55%, -145%);  /*Db/MW/ ADmin and transforming your Grc*/
    }

    .service-node:nth-child(3) {
        left: 55%;
        top: 25%;
        transform: translate(-120%, -250%); /*On prem and block chain*/
    }

    .service-node:nth-child(4) {
        left: 90%;
        top: 50%;
        transform: translate(-135%, -400%); /*It Recruit and share point*/
    }

    .service-node:nth-child(5) {
        left: 10%;
        top: 75%;
        transform: translate(-120%, -590%); /*ecosystem and compliance with sam */
    }

    .service-node:nth-child(6) {
        left: 70%;
        top: 90%;
        transform: translate(-60%, -490%);/*connect and integrate with ai*/
    }

    .service-node:nth-child(7) {
        left: 0%;
        top: 95%; /* Bottom-center node  tooling stamping and team set up*/
        transform: translate(-15%, 37%);
    }

    .service-node:nth-child(8) {
        left: 0%;
        top: 60%;/* App development and iot consulting*/
        transform: translate(-25%, -720%);
    }

    .service-node:nth-child(9) {
        left: 55%;
        top: 75%;
        transform: translate(-40%, 45%); /*composable e commerce*/
    }

    .service-node:nth-child(10) {
        left: 10%;
        top: 50%;
        transform: translate(-80%, -60%);
    }

    .service-node:nth-child(11) {
        left: 15%;
        top: 25%;
    }

    .service-node:nth-child(12) {
        left: 70%;
        top: 10%;
    }

    .service-node:nth-child(13) {
        left: 40%;
        top: 10%;
    }

    .service-node:nth-child(14) {
        right: 140%;
        top: 15%;
    }

    .service-node:nth-child(15) {
        left: 40%;
        top: 85%;
    }

    .service-node:nth-child(16) {
        left: 60%;
        top: 85%;
    }

  /* Hide original lines */
  .line {
    display: none;
}

/* New lines for 576px and below */
.line-576 {
    position: absolute;
    display: block;
    width: 1.5px;
    height: 149px; /* Shorter lines for small screens */
    background-color: #1a176d;
    z-index: 0;
}

/* First new line (adjust the position) */
.line-576-1 {
    left: 50%;
    top: 30%;
    transform: rotate(0deg) translate(-50%, -50%);
}

/* Second new line */
.line-576-2 {
    left: 50%;
    top: 35%;
    transform: rotate(45deg) translate(-50%, -50%);
}

/* Third new line */
.line-576-3 {
    left: 50%;
    top: 33%;
    transform: rotate(90deg) translate(-50%, -50%);
}

/* Fourth new line */
.line-576-4 {
    height: 130px;
    left: 50%;
    top: 33%;
    transform: rotate(135deg) translate(-50%, -50%);
}

/* Fifth new line */
.line-576-5 {
    left: 50%;
    top: 35%;
    transform: rotate(180deg) translate(-50%, -50%);
}

/* Sixth new line */
.line-576-6 {
    left: 50%;
    top: 35%;
    transform: rotate(225deg) translate(-50%, -50%);
}

/* Seventh new line */
.line-576-7 {
    left: 50%;
    top: 33%;
    transform: rotate(270deg) translate(-50%, -50%);
}

/* Eighth new line */
.line-576-8 {
    left: 50%;
    top: 35%;
    transform: rotate(315deg) translate(-50%, -50%);
}

}


